Light absorption and electrical transport in Si:O alloys for photovoltaics