Effects of spherical aberration and accelerating voltage on atomic resolution in molecular images