Post-Newtonian approximation in higher-order metric theories of gravity