General free boundary problems in several space dimensions