Photoacoustic measurements of ion-implanted semiconductors