An hysteretic dc-SQUID for non invasive measurements of the flux states of an rf-SQUID