Collapse Transition of Cyclic Homopolymers and Block Copolymers