Structural and spectroscopic characterization of photoconverting fluorescent protein Dendra2