Directly operated solenoid valves