Relations between policy for medical teaching and basic need satisfaction in teaching