Trilinear neutral gauge boson couplings in effective theories