Study of attitudes of secondary school teachers towards teaching profession in relation to their educational view point