Study: 5% of Spanish population has had coronavirus