A pre-and post-filtering technique for the reduction of blocking effects