Advertising and consumer search in a duopoly model