Measure functional differential equations with infinite delay