Federal grants will help states upgrade public transportation fleets