On the convergence rate of the Cayley-Tranform method for inverse eigenvalue and inverse singular values problems