Interplanetary shock waves: Ulysses observations in and out of the ecliptic plane