A ferrofluid-based sensor to measure bottom shear stresses under currents and waves