The constant-photocurrent method applied to chalcogenide materials