Composition dependence of the work function of Ta1−xAlxNy metal gates