Commissioning and performance of the NA62 RICH detector