Early prediction of ventilator-associated pneumonia in critical care patients: a machine learning model