Haslam secures British superbike title at Brands Hatch