A resonant cantilever based particle sensor with particle-size selection function