Infinitely many solutions to fractional differential equations with instantaneous and non-instantaneous impulses