Nearly holomorphic functions and relative discrete series of weighted $L^2$-spaces on bounded symmetric domains