Gender Bias in Education: the Role of Inter-household Externality, Dowry and other Social Institutions