A Decomposition Method for Solving Quaternion Differential Equations