Effective field theories and inflation