Ron Rivera defends his decision to go for 2 at end of loss to Giants