A unified framework for forward and inverse modeling of ice sheet flow using physics-informed neural networks