Leaking details from a National Security Council (NSC) meeting is "utterly dysfunctional and destructive", Harriet Harman has said.