Full rainbow matchings in graphs and hypergraphs