Association between serum phosphate and mortality in critically ill patients: a large retrospective cohort study