how coal was formed in itially