Solid hair cosmetics