Sweetened and unsweetened coffee consumption is associated with a lower risk of death, the study finds.