Sanctuary cities threatened with loss of federal grant money