Text this: Hierarchical deep learning models using transfer learning for disease detection and classification based on small number of medical images