Optoacoustic sensor based on self-assembled arrays of polystyrene microspheres