Absolute detection efficiencies of microchannel plates for 0.1–2.3 keV electrons and 2.1–4.4 keV Mg+ ions