Why is the equality of marginal revenue and marginal cost essential for profit maximization in all market structures? Explain why the price can be substituted for marginal revenue in the MR=MC rule when an industry is purely competitive.