The interaction of oxygen with dislocation cores in silicon