Conformational Transitions in Adsorbed Macromolecules with Secondary Structure