Ab initio crystal orbital studies on linear chains of H atoms