The agency brought civil fraud charges Friday against two CEOs and four former top executives at the mortgage giants, accusing them of misleading investors about risky subprime loans.