Obama warns Iran to abide by Lausanne terms