Magnetically warped discs in close binaries