Semiosis and Phase Transitions in Biology: a Peircean View