Biomimetic synthesis of inorganic nanocomposites by a de novo designed peptide