A Modification of the Newtonian dynamics: Implications for galaxies