The Optimal Tariff Definition Problem for a Prosumers' Aggregation