Fairness Behind a Veil of Ignorance: A Welfare Analysis for Automated Decision Making