Effects of cold acclimation and freezing on structure and function of chloroplast thylakoids