return last insert id from sqlite3