A Novel Multiresolution Spatiotemporal Saliency Detection Model and Its Applications in Image and Video Compression