Ratchet potential in d. c. SQUID’s and reduced two-junction interferometer models