On certain classes of analytic functions and applications to fractional calculus operators