Enhanced coercivity in Co nanowires via manipulation of head morphology