North and South Korea heads of state meet, shake hands