A Trainable Spectral-Spatial Sparse Coding Model for Hyperspectral Image Restoration