The effective field theory of large-scale structure in cosmology