Thin-film resistor fabrication for InP technology applications