Lee-Quigg-Thacker bounds for Higgs boson masses in a two-doublet model