Relativistic one-boson exchange potential and nuclear-matter properties