Mortality prediction of patients in intensive care units using machine learning algorithms based on electronic health records