Flick set to be named Germany coach once ‘minor details’ finalised