Parent and teacher perceptions of their competence and the contribution of home factors in relation to child behavior patterns