Maternity services at South Tees hospitals must improve, says regulator