Smartphone technologies for assessing the impact of the environment on mental health and wellbeing