Ferromagnetism induced by intrinsic defects and carbon substitution in single-walled ZnO nanotube