How did princess celestia and princess Luna came to be after hearth's warming eve?

It has not been mentioned anywhere how the princesses came to be.