Analysis of seasonal cycles in climatic trends with application to satellite observations of sea ice extent