Lack of homes is biggest barrier to Scots’ retirements