Statistical physics of polymer gels