Complex dynamics and patternĀ formation in a diffusive epidemic model with an infection-dependent recovery rate