Limits from the soft X-ray background on the temperature of old neutron stars and on the flux of superheavy magnetic monopoles