Joachim Gauck condemns ‘illegitimate’ communist rule in former East Germany for silencing its people and breeding culture of distrust