Troy Deeney's second half penalty proved the difference as Watford and Middlesbrough both had a man sent off in a 1-0 home win.