Cluster categories, selfinjective algebras, and stable Calabi-Yau dimensions: type A