Emergence of structural and dynamical properties of ecological mutualistic networks