Electromagnetic form factors at large momenta from lattice QCD