Electronic structure and electron dynamics at molecule?metal interfaces: implications for molecule-based electronics