Analysis of the Dose-Limited Spatial Resolution in Transmission Electron Microscopy