West Ham suffer top-four blow in defeat at Newcastle