Design of active catalysts from first principles: concepts, examples, and perspectives