Relations among education, religiosity and socioeconomic variables