Cabrera hits 2 long HRs, Tigers edge Yankees 4-3