What are the different oxidation states exhibited by the lanthanoids?