ULF waves simultaneously observed at the bow shock, in the magnetosphere and on the ground