Limitations of restricted open-shell self-consistent field calculations applied to molecules with multiple bonds. Electronic structure and geometry of the ground state of cyanocarbene