The disgraced French ex-president Nicolas Sarkozy spent his first night in prison being mocked for his height and screamed at by fellow inmates.