Some reverses of the Cauchy-Schwarz inequality for complex functions of self-adjoint operators in Hilbert spaces