John Kerry says partition of Syria could be part of ‘plan B’ if peace talks fail