Dynamic consensus algorithm based distributed global efficiency optimization of a droop controlled DC microgrid