Large and moderate deviations for kernel-€“type estimators of the mean density of Boolean models