A unified analytical method to quantify three types of fast frequency response from inverter-based resources