Consumers are spending an increasing proportion of their salary on mortgage repayments, new figures reveal.