Obama blasts Guantanamo provisions as he signs defense bill