Quantum entanglement in finite-dimensional Hilbert spaces