Strain-induced work function in h-BN and BCN monolayers