Regulated Prices with Competition and Heterogeneous Consumers