Deep Neural Networks for Inverse Design of Nanophotonic Devices