CPn−1 models and their non-abelian version HPn−1: A study of the quantum properties