Hull City climbed up to seventh in the Premier League table as Robbie Brady's first-half penalty gave them a 1-0 win over West Ham.