Magnetic-field-induced phase transitions in the cerium monochalcogenides CeS and CeSe