The Securities and Exchange Commission has charged six former top executives at Fannie Mae and Freddie Mac with civil fraud, saying they misled the government and taxpayers about risky subprime mortgages the mortgage giants held during the housing bust.