Swelling and shrinking in prestressed polymer gels: an incremental stress–diffusion analysis