Middlesbrough Council given six months to fix culture and finances