Relating embedding and coloring properties of snarks