Quark–lepton complementarity in unified theories