Court sentences two Iranian nationals to life over bomb plot