Thermal photon production rate from nonequilibrium quantum field theory