The modified proximal point algorithm in Hadamard spaces