A new study says more than 4,000 NHS staff at Blackpool have had to take absence to mental health problems over the past three years.