Electron transport in shallow heterostructures with AlGaAs and AlAs barriers