A "rapid" national investigation into NHS maternity services has been launched by the government.