pneumonia diagnosis criteria