A microprocessor-controlled continuous-flow cryostat for single-crystal X-ray diffraction in the range 10–300 K