Dynamical density functional theory for the segregation and drying of binary colloidal dispersions