The University of East Anglia has been awarded £24m to help train the next generation of environmental scientists, it has been revealed.