High-coercivity magnetism in nanostructures with strong easy-plane anisotropy