Cover attacks for elliptic curves with cofactor two