Pneumonia Detection With Limited And Imbalanced Data Using Energy-Based Out-Of-Distribution Technique