Stabilization and disturbance attenuation of nonlinear systems using dissipativity theory