Husband in court charged with sex offences against ex-wife