Swelling and mechanical properties of polymer gels with cross-linking gradient