Rules of structure formation for the homologous InMO3(ZnO)n compounds.