Accelerated cosmological models in Ricci squared gravity