Effects of localized bending on DNA supercoiling