Evaluation of the effects of cross-linking and swelling on the mechanical behaviors of hydrogels using the digital image correlation method.