Coast Guard officer charged with planning mass attack