Erdogan and rival cast votes in presidential runoff