Obama says voter rights threatened from ID laws