Peptide encapsulation regulated by the geometry of carbon nanotubes.