Discovering air quality patterns in urban environments