Entangled quantum systems and the Schmidt decomposition