Denmark centre-left bloc wins narrow victory in nail-biting vote