how long do you have to fast before an endoscopy