A model for swelling changes in a covalently crosslinked gel generated by unfolding of folded domains