Phosphorus-diffused polysilicon contacts for solar cells