Three killed in building fire in French Riviera city