SEOUL, South Korea — North Korea fired two medium-range ballistic missiles off its east coast Sunday, launching missiles potentially capable of reaching Japan, days after Tokyo vowed to double its military spending to help guard against the growing threats from China and North Korea.