A miniaturized sensor for detection of formaldehyde fumes