Jimmie Johnson wins first Cup race at Fontana