Analysis of biological samples using solid-phase microextraction