I also used the sheet metal screw approach. The dimensions posted in Skiddy's reply help get you in the ball park, but I found that actually hanging the doors really helped me dial everything in just right.
The other thing that you can do is adjust your hinges. This process is really annoying, but what I did was to loosen the hinges up slightly, then close the door. Then, manhandle the door while closed to see if you can get it to line up better. If you can, then try to hold the hinge side in place while opening the door (this is a lot harder than it sounds). Then tighten up the hinges in that position and close it again to see if they moved. This is a very "iterative" process, but it can help with lining things up. A second set of hands makes this quite a bit easier, but still kind of a pain.