Application of a microstrip gas counter in energy-dispersive X-ray fluorescence analysis