A portable self-calibrating logic detector for gradient detection of formaldehyde based on luminescent metal organic frameworks