Two compounds of iron have different colours. Chemical analysis also shows that the iron ions in them have different charges. Explain how these findings are typical of a transition element.