Spain has released most details of its new cabinet, tasked with leading the first coalition government since the return to democracy.