Spherical relativistic Hartree theory in a Woods-Saxon basis