A sonochemical method for the selective synthesis of alpha-HgS and beta-HgS nanoparticles.