Thermodynamic studies of semiflexible copolymers using field theory and molecular simulations