Noninvasive probing of the spatial organization of polymer chains in hydrogels using fluorescence resonance energy transfer (FRET)