Solenoid-operated valves