Salvation Army apologises after officer says gays deserve death