Monte Carlo simulations for 1- and 2D spin crossover compounds using the atom-phonon coupling model