US crew retakes ship hijacked by pirates; captain held hostage