North Korea puts on live-fire drill as U.S. submarine docks in South