Analytical approach for wear prediction of metallic and ceramic materials in tribological applications