Moving to big coastal cities like New York and Los Angeles could mean lowering the odds of getting married.