G7 ready to take 'necessary measures' to support global energy supply amid supply crisis