Porsche and Mercedes Formula E entries given green light by FIA