A spectroscopic study of sulphide, selenide, and telluride complexes of palladium(II) and mercury(II)