Numerical simulation of the properties of solar cells based on GaPNAs/Si heterostructures and GaN nanowires