Investigating the relationship between AGN activity and stellar mass in zCOSMOS galaxies at 0 < z < 1 using emission-line diagnostic diagrams