Photon scattering in semiconductor nanostructures