The effect of clay on the thermal degradation of polyamide 6 in polyamide 6/clay nanocomposites