Quantum dots formed by ultrathin insertions in wide-gap matrices