Accuracy of surface strain measurements from transmission electron microscopy images of nanoparticles