Functional parameters in patients with ocular hypertension and primary open-angle glaucoma