Investigation of Y6Mn23 and YMn12 intermetallic alloys under high hydrogen pressure