Relativistic nuclear structure. II. Finite nuclei.