A closed form solution for the impact analysis of elastic ellipsoidal thin shells