Electromagnetically induced transparency in bulk and microcavity semiconductors