Photon emission from transition metal surfaces in scanning tunneling microscopy