Porosity effect on microstructure, mechanical, and fluid dynamic properties of Ti2AlC by direct foaming and gel‐casting