A failure criterion for foliation and its application for strength estimation of foliated metamorphic rock