Pentagon chief presses military to carry out a smooth transition and obey all lawful orders