Medical Image Classification Using Transfer Learning and Chaos Game Optimization on the Internet of Medical Things