Convenience extension for UIImage and UIImageView in Swift