Cordray is confirmed to lead consumer-protection bureau