Can pneumonia cause heart failure