Exciton energies in shallow quantum wells and spin superlattices.