Temperature dependence of strains and stresses in undercritical cubic superlattices and heterojunctions.