Let $a$, $b$, $h$ be the three edges meeting at a particular vertex of a triangular prism, such that $a$, $b$ are sides of a base triangle with angle $\theta$ between them and $h$ is the height of the prism. Given that the total surface area is $K$, show that the volume $V$ satisfies $V \leq \sqrt{K^3/54}$, and find the dimensions of the prism of maximum volume.