A image encryption algorithm based on chaotic Lorenz system and novel primitive polynomial S-boxes