Mappings with bounded deformation as extremals of Dirichlet type integrals