Ehrenfest Methods for Electron and Nuclear Dynamics