Heisenberg uncertainty relations for photons