Structural stability and trends in band structures of covalent‐ionic compounds