Investigation of electrochemical macropore formation in silicon