The majority of the UK population have suffered with their mental health as a result of debt and financial difficulties, according to a national health study.