An explicit stable finite difference method for the Allen–Cahn equation