Absorption and stimulated emission in an AlAs-GaAs superlattice