WeSpeR: Population spectrum retrieval and spectral density estimation of weighted sample covariance