Ionization and Dissociation of Diatomic Molecules by Electron Impact