How to create fair (and pain-free) physician schedules