A comparison of destabilization mechanisms of the layered NaxMO2 and LixMO2 compounds upon alkali de-intercalation