Binary Population Synthesis: Low- and Intermediate-Mass X-Ray Binarie