US factory orders up for third month in April