Development and validation of a model for diagnosis of obstructive sleep apnoea in primary care