Orthogonal machine learning for conditional odds and risk ratios