A large‐deviations principle for all the cluster sizes of a sparse Erdős–Rényi graph