Patch-Based Image Restoration using Expectation Propagation