Density, porosity, mineralogy, and internal structure of cosmic dust and alteration of its properties during high‐velocity atmospheric entry