Japan court upholds common surnames for married couples