Biphasic responses in cell signalling: A unified approach