Dendritic core–shell structure preparation by a facile consecutive electrochemical crystal growth method