Photoluminescence spectroscopy of trions in quantum dots: A theoretical description