How do demographic and socioeconomic factors affect financial literacy and its variables?