Substrate and p-layer effects on polymorphous silicon solar cells