Quadratic forms over n-dimensional local fields