Effect of solar activity on radiation conditions in the magnetosphere of the Earth