what conditions allow dead organisms to change into fossilsÂ