A record number of Scottish students have secured places at a Scottish university this year, UCAS figures show.