At least 900 people held hostage by the Nigeria-based armed group Boko Haram have been rescued in Cameroon.