Rivian beats quarterly revenue estimate, raises production forecast