Comparative dielectric investigations of two liquid-crystalline side chain polymers