Osmotic deswelling of gels by polymer solutions