On the primality of $n!\pm 1$ and $2·3·5\cdots p\pm 1$