Shape and orientation of stellar velocity ellipsoids in spiral galaxies