Species tree estimation under joint modeling of coalescence and duplication: Sample complexity of quartet methods