Opportunity cost, excess profit, and counterfactual conditionals