Tiny, solid windows in the shells of heart cockles let in light for the photosynthetic algae inside them – and they could show us how to make better fibre-optic cables