Impact of compliance with an enhanced recovery after surgery pathway on patient outcomes in open gynecologic surgery