Molecules and their isotopologues in supernova remnants