Generation, motion and thickness of transition layers for a nonlocal Allen–Cahn equation