Dissociation and ionization dynamics of CF3I and CH3I molecules via pump-and-probe experiments using soft x-ray free-electron laser