Electron microprobe analysis and scanning electron microscopy in geology