The average amount of debt people pay on their mortgages, credit cards and other loans has jumped sharply since 2020, study finds.