A scalar photon theory for near-field radiative heat transfer