Photoinduced organic nanowires from self-assembled monolayers