Law and Ethics of Artificial Intelligence in the Public Sector: From Principles to Practice and Policy