Northern Ireland's women's football team scored four goals in a World Cup qualifier against Malta, ending a goal drought.