Shape changing photovoltaic solar cells