Modulation of trion and exciton formation in monolayer WS2 by dielectric and substrate engineering