The period of validity of residence permits granted to third country nationals