Learning Factorized Weight Matrix for Joint Image Filtering