DMC Global beats Q2 estimates as EPS swings to $0.04 profit