A versatile apparatus for time-resolved photoemission spectroscopy via femtosecond pump-probe experiments