Liquid crystal display-based optical processor for color pattern recognition by three-dimensional correlation