Toyota has sold over 1m hybrid vehicles in a year for the first time.