South Korean president declares martial law, accusing opposition of anti-state activity