Japan declared "short and powerful" states of emergency for Tokyo, Osaka and two other prefectures as the country struggles to contain a resurgent coronavirus pandemic three months before the Olympics.