Programming conventional electron microscopes for solving ultrahigh-resolution structures of small and macro-molecules