On selfinjective algebras of Euclidean type