Selective maintenance planning based on a Markovian approach