Bottlebrush polymers in the melt and polyelectrolytes in solution share common structural features