Relativistic tight-binding calculation of core-valence transitions in Pt and Au | Synapse