Analysis of air quality monitoring networks by functional clustering