Harris formally accepts Democratic nomination for US president