Fractional order SIR model with generalized incidence rate