GAMs and functional kriging for air quality data