Material Decomposition Using Ensemble Learning for Spectral X-ray Imaging