Friends of the Earth given permission to take UK government to court over Mozambique gas mega project