How do spacecraft solar panels work