Canonical Polyadic Decomposition based on joint eigenvalue decomposition