Almost-sure central limit theorems and the Erdös–Rényi law for expanding maps of the interval