Dependence of excited-state properties of tellurium on dimensionality: From bulk to two dimensions to one dimensions