Scotland has its highest ever number of people aged 90 and above, new population statistics reveal.