An Indirect Finite Element Method for Variable-Coefficient Space-Fractional Diffusion Equations and Its Optimal-Order Error Estimates