Hyundai Motor second-quarter profit slumps due to weak international demand