Councils defend record on mental health funding