Pyramidal and toroidal water drops after impact on a solid surface