Artifact Reduction of Compressed Video via Three-Dimensional Adaptive Estimation of Transform Coefficients