The signature of symplectic and self-conjugate manifolds