Solar flare effects on cosmic ray intensity