Germany voices ‘considerable doubts’ about legality of US attack on Iran