A chemical sensor based on a microfabricated cantilever array with simultaneous resonance-frequency and bending readout