Magnetic and magneto-optical properties of assembly of nanodots obtained from solid-state dewetting of ultrathin cobalt layer