Photoemission and photon-enhanced thermionic emission: effect of jump in electron mass