Adsorption of SO2 on pristine and defective single-walled MgO nanotubes: a dispersion-corrected density-functional theory (DFT-D) study