Second-order perturbations of a zero-pressure cosmological medium: Comoving versus synchronous gauge