Solar activity and modulation of the cosmic ray intensity