Beam test results on the detection of single particles and electromagnetic showers with microchannel plates