A cantilever-based sensor for thermal cycling in buffer solution