Magnetic Structure and Spin Reorientation Transition in ScMnO3