Japan's ruling coalition of the Liberal Democratic Party and its partner Komeito has lost its majority in the lower house of parliament for the first time in 15 years.