Essays on gender, marriage and inequality