Phase transitions in RbPrNb2O7, a layer structured ferroelectric with a high Curie point