Central banks move to prevent crisis after UBS buys rival Credit Suisse