The folding, stability and conformational dynamics of beta-barrel fluorescent proteins.