A generalization of the Virasoro algebra to arbitrary dimensions