A compact multipurpose nanomanipulator for use inside a scanning electron microscope