Pence formally accepts Republican vice-presidential nomination