The role of self-assembled monolayers in electronic devices