Antigen perception in T cells by long-term Erk and NFAT signaling dynamics