Negative pion capture in mercury, gold and platinum nuclei