Detection and purification of microbial volatile organic compounds