Core phase structure of cosmic strings and monopoles