Westerbork H I observations of high-velocity clouds near M 31 and M 33