Swansea City head coach Paul Clement says defeats for fellow strugglers Hull City and Crystal Palace earlier in the day gave his side a lift ahead of their 1-0 victory over Everton.