Estimation of seismic moment tensors using variational inference machine learning