Conditions for the planes of symmetry of an elastically supported rigid body