How long does it take for azithromycin to work for pneumonia