Construction and validation of a scoring system for the selection of high-quality data in a Spanish population primary care database (SIDIAP)