Electronic-structure calculation of point defects in silicon