Structural and photoactive properties of self-assembled peptide-based nanostructures and their optical bioapplication in food analysis