Dennis becomes Britain's first Formula E champion