Obama: Orlando shooting was "act of terror"