Study of the absorption coefficient in layers of a semiconductor laser heterostructure