Earthquake detected in N korea after it warned nuclear test