Executives charged with wrongdoing used to keep quiet and defer to their lawyers. But now they are turning to social media in a legally risky move to proclaim their innocence.