South Korean president declares martial law, accuses opposition of anti-state activities