Dying at home or in an institution: using death certificates to explore the factors associated with place of death