Fractional operators with exponential kernels and a Lyapunov type inequality