create resizeToBoundingSquare() extension to UIImage