Mechanism of hierarchical plasmonic biomaterials engineered through peptide-directed self-assembly