Cryptanalysis of a DNA and chaos based image encryption algorithm