Valves and Solenoid valves for fluids