Japanese court approves extension of aging nuclear reactors