Structural Phase Transitions in CsPbCl_3 and RbCdCl_3