Ex-US official warns Iran over crackdown on protesters