Image analysis of flame behavior for polyolefins and polystyrene in vertical flame test