coal is formed due to the process of