Obama nominates Perez as labor secretary