Features of the annual evolution of CO2 and CH4 in the atmosphere of a Mediterranean climate site studied using a nonparametric and a harmonic function