Optimizing the cathodic protection system of pipeline under simulating thermocline environment in deep water by finite element method