Performance of an ambulatory casemix measurement system in primary care in Spain: Ambulatory care groups (ACGs)