The ContactPoint directory of children in England will be switched off at noon on 6 August, according to a written statement to parliament.