The renormalized stress-energy tensor and its associated operators for photons in curved four-dimensional space–time