Numerical study on crack evolution in diagenetically consolidated sandstones