Australian researchers have developed windows that let sunshine in for plants while capturing some rays to make electricity.