Photoluminescence line shape in degenerate semiconductor quantum wells