Prince's memoir to release in October, three years after his death