Effect of solvents on closed-loop phase behavior of block copolymers