Critical states of a superconducting slab subjected to tension and bending