North Korea orders front-line troops into 'wartime state' after exchange of fire