FBI: San Bernardino shooting is being investigated as a terrorist act