Hydromechanical model for hydraulic fractures using XFEM