Requiring photo ID to vote upheld  