Electric field control of anisotropy and magnetization switching in CoFe and CoNi thin films for magnetoelectric memory devices