Explainable Deep Learning in Medical Imaging: Brain Tumor and Pneumonia Detection