Processes for carrying out reactions under cavitation conditions