Comprehensive ab initio thermodynamic treatment of impurities in ordered alloys: application to boron in B2 Fe-Al.