Evaluation of ecosystem resilience to drought based on drought intensity and recovery time