Four British soldiers who were serving in Afghanistan and died this week have been named by the Ministry of Defence.