Static and dynamic pupil characteristics in pseudoexfoliation syndrome and glaucoma