Instrumentation in astronomy