Topological nodal lines in bulk and monolayer W2O3