The elastic fields of sub-surface dislocation loops: a comparison between analytical continuum-theory solutions and atomistic calculations