VGOS: Voxel Grid Optimization for View Synthesis from Sparse Inputs