Extremum seeking methods for optimization of variable cam timing engine operation