From atomistics to continuum: Effects of a free surface and determination of surface elasticity properties