An analysis of ozone pollution by using functional data: rural and urban areas of the Community of Madrid