Numerical modelling of micro and macro cracking in plain and fibre-reinforced cementitious composites