The Chern character of a transversally elliptic symbol and the equivariant index