NLTE modeling and spectroscopically derived abundances of lithium and beryllium for classical nova ejecta