Extreme temperatures could be dangerous for pets