Polyacrylamide and its derivatives for oil recovery