Theory of design of foam ceramic filters for cleaning molten metals