Preparation of silicon materials