The eta invariant and equivariant index of transversally elliptic operators