US President slams Pak for continued support to terror groups, warns of consequences