Joe Biden warns Iran to ‘be careful’ after Hamas attacks