The effects of larval density on adult life-history traits in three species of Drosophila