ProtT3: Protein-to-Text Generation for Text-based Protein Understanding