Subaru's quarterly profit climbs; chip shortages impact production