Shape models and spins of asteroids derived from ATLAS photometry