Analysis and Optimization of Thin Film Ferroelectric Phase Shifters