Charge density wave formation accompanying ferromagnetic ordering in quasi-one-dimensional BaIrO3