Resistance thermometry in magnetic fields 1. Thermistors and platinum thermometers at 77 K