how long should I expect a cough after being treated for pneumonia?