North Korea has fired two short-range ballistic missiles into the sea, South Korea's military has said.