Analysis of university finances finds increasing student numbers and income can cause costs to rise faster than revenue.