Conversions Among Several Classes of Predicate Encryption and Applications to ABE with Various Compactness Tradeoffs