The propagation mechanism of an oblique straight crack in a rock sample and the effect of osmotic pressure under in-plane biaxial compression