Modification of the exact pole placement method and its application for the control of spacecraft motion