Physics-informed neural networks with unknown measurement noise