Modelling of photoreflectance phenomena in layered media