Credit Suisse posts $4 billion loss ahead of crucial revamp