US stocks end mixed ahead of key jobs figures