The Surface and Bulk Molecular Structures of Polyacrylamide Hydrogels and Their Influence on Mechanical and Tribological Properties