The impact of persistent poor housing conditions on mental health: a longitudinal population-based study