Jovic scores 25, Heat beat Warriors at California Classic