Barcelona overtakes Madrid in housing prices