Simulation of mode I crack growth in polymers by crazing