The AGILE monitoring of Cygnus X-3: transient gamma-ray emission and spectral constraints