British prime minister Theresa May announces her resignation