Clebsch−Gordan coefficients for *X ⊗ *X in diamond O7h−Fd3m and rocksalt O5n−Fm3m