Energy dissipation associated with crack extension in an elastic-plastic material