Solid or semi-solid compositions containing as the essential lubricating ingredient mineral lubricating oils or fatty oils and their use