Two-phase Model for Structure of Polymers