Volume-averaged rate equations for planar and disk-cavity lasers