Classification of finite groups that admit an oriented regular representation