Liverpool recovered from a goal down at the Gtech Community Stadium to win 2-1 after Brentford had two players sent off.