Disturbance rejection for a rotating flexible spacecraft: a port-Hamiltonian approach