Adsorption and orientation of NH3 on Ru(001)