Polymer networks: principles of formation, structure and properties