Control for formation flying of satellites: port-Hamiltonian approach