Electron microscope imaging of single particles using the Medipix2 detector