Oxford United have completed the signing of former Bradford City and Exeter City full-back Luke O'Brien on a free transfer.