Modeling for compression of field-reversed configurations by an imploding liner