Competition and regulation with product differentiation