Cyclic generalized contractions and fixed point results with applications to an integral equation