I had a look at both those episodes and I know the music you mean.
I'm not sure that's an actual song though, I think it may just be 'token 70s style instrumental' that has been put in.
If anyone wants to prove me wrong though they're more than welcome.