Correlation between dark matter and dark radiation in string compactifications