Muslim dentist 'told patient to wear a headscarf or go elsewhere'