Benefits of oxygen in CuInSe2 and CuGaSe2 containing Se-rich grain boundaries