NBA jerseys can bear advertising logos, league says