Scotland’s universities face rising costs and funding cuts, and there is a growing gap in how well different institutions can cope, says the public spending watchdog.