Educational pathways through nanoscience: nitinol as a paradigmatic smart material