Development of a fluorescence model for the determination of constants associated with binding, quenching, and FRET efficiency and development of an immobilized FRET-peptide sensor for metal ion detection