Design, fabrication and measurement of a microchannel heat sink with a pin-fin array and optimal inlet position for alleviating the hot spot effect