Uniaxial magnetic anisotropy for thin Co films on glass studied by magnetooptic Kerr effect