Statistics of Imperfectly Flexible Molecular Chains