Competition between ultrafast energy relaxation and population relaxation in the excited state of β-carotene in solution