Comparative analysis of numerical discrete and finite element models: the case of in-plane loaded periodic brickwork