Multifractal modeling of magnetic storms via symbolic dynamics analysis