Pope announces resignation