Spain's new leader appoints cabinet with majority of women