Formation of barium titanate in combustion of heterogeneous condensed systems