conservation of energy and matter