A forecasting approach for hospital bed capacity planning using machine learning and deep learning with application to public hospitals