$E_{\infty}$-coalgebras and $p$-adic homotopy theory