Outgoing Japanese premier calls for strengthening ties with South Korea