Troy Deeney scored an early goal as Watford secured a 1-0 win over Birmingham on the opening day of the Sky Bet Championship season at St Andrew's.