New device could make solar cells cheaper.