North Korea has been accused of firing short-range projectiles into the sea off South Korea's east coast, hours after UN sanctions.