Glassy and crystalline phases in the PbOV2O5 system