Investigation by vibrational spectroscopy of the complexation of poly(acrylamide) by cadmium halides