Determination of fracture toughness of AZ31 Mg alloy using the cohesive finite element method