The number of first-time buyers stepping on to the property ladder jumped by more than a fifth in Scotland last year, according to analysis by a major bank.