An investigation involving counter-terrorism officers has been launched after five mosques were vandalised in an “abhorrent, despicable act”.