Therapeutic effects of resveratrol in Escherichia coli-induced rat endometritis model