MARC: A code for the retrieval of atmospheric parameters from millimeter-wave limb measurements