Resonance structure contributions, flexibility, and frontier molecular orbitals (HOMO–LUMO) of pelargonidin, cyanidin, and delphinidin throughout the conformational space: application to antioxidant and antimutagenic activities