Differences in the flame retardant mechanism of melamine cyanurate in polyamide 6 and polyamide 66