Analytical model for the current density in the electrochemical synthesis of porous silicon structures with a lateral gradient