A method to determine the atmospheric temperature profile from in situ pressure data: Application to Titan