A Bayer pattern-based fragile watermarking scheme for color image tamper detection and restoration