A microprocessor controlled spectrometer for thermal scan Mössbauer spectroscopy