Elastic-plastic deformation of a single crystal in the geometric theory of thermodynamic spaces