Optical and microstructural characterisation of Au–Sn and Cu–Sn diffusive layers