Ab initio study of NH3 and H2O adsorption on pristine and Na-doped MgO nanotubes