Studies on volume phase transition of N-substituted acrylamide hydrogels