A copula-based approach to account for dependence in stress-strength models