Coupled elastoplasticity and plastic strain-induced phase transformation under high pressure and large strains: Formulation and application to BN sample compressed in a diamond anvil cell