Role of endoscopy in patients with achalasia