Tammy Beaumont scored the first double hundred by an England player in Women's Tests, making 208 from 331 balls against Australia at Trent Bridge.