Environmental determinants of woody and herbaceous riparian vegetation patterns in a semi-arid mediterranean basin