Random telegraph noise in the photon emission from semiconductor quantum dots