what is the relationship between atp and mitochondria