Panasonic annual profit slides, but Tesla battery venture logs second quarterly gain