Crack-resistance diagrams of polymer composite materials in tension and compression