Magnetoelastic coupling and spin contributions to entropy and thermal transport in biferroic yttrium orthochromite