Nonlocal Polyakov–Nambu–Jona-Lasinio model and imaginary chemical potential