Ionic strength effect on the structure and dynamics of colloidal dispersions with weak attractive interactions