Dollar edges higher after larger-than-expected rise in May payrolls