Cracking and crushing in prestressed concrete beams