The Phase-I upgrade of the ATLAS Level-1 calorimeter trigger