G8 leaders agree on need, but not on method, to solve Syrian crisis