Sulfur point defects in crystalline and amorphous silicon