Environmental Preferences and Technological Choices: Is Market Competition Clean or Dirty?