On the Role of Tachoclines in Solar and Stellar Dynamos