The occurrence of separation in oscillatory flow