Quantifying the impact of excess capacity in higher education