Higher car sales than expected and cost cuts helped Malaysian national carmaker Proton Holdings to post a large rise in second quarter net profit.