Non-uniform second-order reversible cellular automata with chaos-based permutation for lossless image encryption