Laws of the iterated logarithm for nonparametric density estimators