Electro-optic properties of polymer-stabilized ferroelectric liquid crystals before, during and after photo-polymerization