absorption and reemission of photon