An Efficient Image Codec Using Spline-Based Directional Lifting Wavelet Transform and an Optimized EZW Algorithm