Samsung forecasts record profit but shares tumble