Changes in electronically excited states and photochemistry of troponoids on complexation with acids.