Fragments of bounded arithmetic and the lengths of proofs