NSA tapped into NKorean networks before Sony attack, officials say