Gravar-mail: PN/PAs-WSe(2) van der Waals heterostructures for solar cell and photodetector