On the Optimality of Three-Part Tariff Plans