Efficient Forward-Secure and Compact Signatures for the Internet of Things (IoT)