Character identities and asymptotic behavior of matrix coefficients of discrete series