Ponderomotive acceleration of ions: circular vs linear polarization