Puerto Rico governor announces his resignation