what do plants convert the suns energy through