A visit from Sigmund Freud defines this stumbling period comedy about sexual mores in early 20th-century Barcelona.