Excited state charge redistribution and dynamics of flavins, flavorproteins, and their cofactors