Theoretical aspects of surface reactions