Resonating mass sensors for measuring mass, volume, and density of objects in fluids