Harley-Davidson Inc. reported a rise in profit in the second quarter, beating analyst estimates and sending shares up nearly 7% despite a two-week production shutdown that suspended bike shipments in mid-May.