Thousands of staff absences across south Essex’s hospitals are down to mental health issues facing staff – a freedom of information request has revealed.