Electroclinic properties of chiral smectic A liquid crystalline polymers and block copolymers