Elasticity of aluminate, titanate, stannate and germanate compounds with the perovskite structure