Acting Navy secretary defends firing of captain who warned of virus outbreak