First-Principles Simulation of Oxygen Defects in Silicon