A Jacobi type method for complex symmetric matrices