Real-time Photorealistic Dynamic Scene Representation and Rendering with 4D Gaussian Splatting