Place captions above figures or tables.

Defines a command \topcapt which does the same as caption, except that it places itself correctly when put above the figure/table that it’s a caption of.