The effects of non-periodic microstructure and defects on the compressive strength of two-dimensional cellular solids