Reduction, Linearization and stability of relative equilibria for mechanical systems on riemannian manifolds