An analysis of the risk–return relationship in the Spanish capital market using a structural equation model