Finite element formulation for surface elasticity