how to calculate price per square foot