Dynamic response of microcantilever-based sensors in a fluidic chamber