Taliban agree to release South Korean hostages