Prayers and silence mark Titanic centenary