SMS: Lessons learned: from dye-sensitized solar cells to all-solid-state hybrid devices.