UniOcc: A Unified Benchmark for Occupancy Forecasting and Prediction in Autonomous Driving