Application of model following control and estimation techniques to attitude control of manoeuvring spacecraft Part I: Theory and simulation results